{% extends "root_base.html" %}{% block content_root_base %}
	<p><strong>修改/删除文章</strong></p><table border="0" width="100%">
	<tr><td><strong>标题</strong></td><td><strong>发表时间</strong></td>
	<td><strong>修改</strong></td><td align="right"><strong>删除</strong></td>
	{% for article in articles %}<form action="managepost_root.html" method="post">
		<tr><td>《<a href="/{{ article.key.id }}_article.html">{{ article.title }}</a>》</td>
		<td>{{ article.time_date|date:"H时i分s秒 m月d日 Y年" }}</td>
		<td><a href="/addpost_root.html?id={{ article.key.id }}">修改</a></td>
		<td align="right"><input type="hidden" value="{{ article.key }}" id="key_post_hidden" name="key_post_hidden" />
		<input type="submit" onclick="return confirm('确定要删除吗?');" value="删除" /></td></tr>
	</form>{% endfor %}
</table>
<div id="daohang_managepost_root_base">
	{% if pre_page %}
		<div class="float_left sided"><a href="?b={{ pre_page.key.id }}">上一页</a></div>
	{% endif %}
	{% if next_page %}
		<div class="float_right sided"><a href="?b={{ next_page.key.id }}">下一页</a></div>
	{% endif %}
</div>
{% endblock %}
